home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
DISK
/
MYDIRV01.ARJ
/
MYDIRHLP.BAT
< prev
Wrap
DOS Batch File
|
1991-01-28
|
5KB
|
76 lines
@ECHO OFF
CLS
ECHO
┌─────────────────────────────────────────────────────────────────────────────┐
ECHO │
MYDIR.EXE
│
ECHO │
───────────
│
ECHO │
Operating Instructions
│
ECHO └─────────────────────────────────────────────────────────────────────────────┘
ECHO
PURPOSE:
ECHO
■
This utility offers two main services:
ECHO
ECHO
1)
Display
all
files in
all
subdirectories on the s
ECHO u
current drive
.
ECHO C
╒
To a 'listing-file' ([d:][path]filename) - 1st parm position
!
ECHO C
OR
ECHO C
╘
To STDOUT (console) - no filename
.
ECHO
ECHO C
Preceeding Options Can Be Combined With The Following Service
ECHO
ECHO
2)
Display
all
files in
all
subdirectories on the s
ECHO u
current drive
which match
ECHO Ca search-mask (you provide - NO quotes).
ECHO C
╒
The search-mask request must be preceeded with the
-n
switch.
ECHO C
╞
The search-mask can be one or more leading characters of the
ECHO C
│
file name up to and including an entire filename.
ECHO C
╞
Alternatively, the search-mask can be one or more trailing
ECHO C
│
characters of a filename.
ECHO C
** Wild Cards Are NOT Supported **
PAUSE
ECHO Hs
FOR %%A IN ( ) DO ECHO %%A
ECHO u
USAGE NOTES:
ECHO
■
Once a 'listing-file' is created it can serve as the source for all
ECHO Csubsequent search-mask activities. Utilization of a standing 'listing-file'
ECHO Cgreatly diminishes the response time for search-mask activities.
ECHO
ECHO
USAGE EXAMPLES:
ECHO
ECHO
"
C:\>
MYDIR
<Enter>
"
=
all
files in
all s
ECHO u
subdirectories sent to STDOUT.
ECHO
ECHO
"
C:\>
MYDIR DIRLIST.LST
<Enter>
"
= s
all
files in
all s
ECHO us
all
files in
all
subdirectories saved in
ECHO uB
DIRLIST.LST
file.
ECHO
ECHO
"
C:\>
MYDIR -n TESTERS
<Enter>
"
=
TESTERS?.???
sent to STDOUT.
ECHO C
?TESTERS.???
sent to STDOUT.
ECHO C
??TESTER.S??
sent to STDOUT. (etc.)
ECHO
ECHO
"
C:\>
MYDIR DIRLIST.LST -n TESTERS
<Enter>
"
=
(as above)
s
ECHO usaved in
DIRLIST.LST
ECHO Cfile.
PAUSE
ECHO Hs
FOR %%A IN ( ) DO ECHO %%A
ECHO u
SYSTEM REQUIREMENTS:
ECHO
■
This utility was written in
C
and compiled with
MSC 6.0
.s
ECHO u In order to
ECHO Cachieve maximum speed, the
-G2
option was specified at compile time. Please
ECHO Cbe advised that you need a
286
(or better) machine to run this utility!
ECHO
ECHO
ECHO
AUTHOR'S NOTES:
ECHO
■
My name is Jonathan Paolicelli and I offer this utility as
FREEWARE
.
ECHO CPlease feel free to pass this utility to anyone who might care for it. I'd
ECHO Cbe most appreciative if you'd include both the
MYDIR.EXE
and this batch
ECHO Cfile (
MYDIRHLP.BAT
) as a package.
ECHO
Reported by McAfee's Validate 0.3
ECHO File Name: MYDIRHLP.BAT File Name: MYDIR.EXE
ECHO Size: 4,210 Size: 39,078
ECHO Date: 1-28-1991 Date: 1-26-1991
ECHO File Authentication: File Authentication:
ECHO Check Method 1 - 6BA3 Check Method 1 - F17F
ECHO Check Method 2 - 093E Check Method 2 - 0681
PAUSE
CLS